package com.motus.pm.service;

import java.util.List;











import com.motus.pm.vo.MotusDept;
import com.motus.pm.vo.MotusEmpInfo;
import com.motus.pm.vo.PmDeptTask;
import com.motus.pm.vo.PmMeetingEmp;
import com.motus.pm.vo.PmMeetingInfo;
import com.motus.pm.vo.PmMeetingTask;
import com.motus.pm.vo.PmPhaseInfo;
import com.motus.pm.vo.PmProjectInfo;
import com.motus.pm.vo.PmProjectPhase;
import com.motus.pm.vo.PmProjectPhaseId;
import com.motus.pm.vo.PmProjectTask;

public interface DeptService {

	public List<PmProjectPhase> getProjectPhasesByDeptId(int deptId);

	public PmProjectPhase getProjectPhaseById(PmProjectPhaseId pmProjectPhaseId);
	
	public List<PmProjectInfo> getProjectInfosByDeptId(int deptId);
	
	public PmProjectInfo getProjectInfoById(String pid);
	
	public List<PmPhaseInfo> getPhaseInfosByDeptIdAndPid(int deptId,String pid);
	
	public PmPhaseInfo getPhaseInfoById(String phaseId);
	
	public List<MotusEmpInfo> getEmpInfosByDeptId(int deptId);
	
	public MotusEmpInfo getEmpInfosById(int id);
	
	public void newProjectTask(PmProjectTask pmProjectTask);
	
	public PmProjectTask getProjectTaskById(int taskId);
	
	public void updateProjectTask(PmProjectTask projectTask);
	
	public List<PmProjectTask> getProjectTasksByDeptIdAndTaskState(int deptId,int taskState);
	
	public List<PmDeptTask> getDeptTasksByDeptId(int deptId);
	
	public List<PmDeptTask> getDeptTasksByDeptIdAndTaskState(int deptId,int taskState);
	
	public PmDeptTask getDeptTaskById(int deptTaskId);
	
	public void newMeetingTask(PmMeetingTask meetingTask);
	
	public List<PmMeetingTask> getMeetingTasksByDeptIdAndTaskState(int deptId,int taskState);
	
	public List<PmMeetingInfo> getMeetingInfosByDeptId(int deptId);
	
//	public PmMeetingInfo getMeetingInfoById(int mid);
	
	public List<PmMeetingEmp> getMeetingEmpsByMid(int mid);
	
	public MotusDept getMotusDeptById(int deptId);
	
	public void newDeptMeeting(PmMeetingInfo pmMeetingInfo);
}
